package com.kyzh.core.adapters.v3

import androidx.fragment.app.Fragment
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.kyzh.core.pager.home.HomeFindItemFragment

class HomeFindTabAdapter(val context: Fragment): FragmentStateAdapter(context) {
    override fun getItemCount(): Int {
        return 5
    }

    override fun createFragment(position: Int): Fragment {
        return HomeFindItemFragment.newInstance(position)
    }

}